---
output:
  pdf_document: default
  html_document: default
---
## Paper Information
This repository contains reproduction materials for the paper "Who Do You Loathe? Feelings toward Politicians vs. Ordinary People in the Opposing Party" by Kingzette, Jon.

## Survey Text
This paper utilized a within-subject survey experiment in which each respondent reported their feelings toward the opposing party, politicians in the opposing party, and ordinary members of the opposing party. The document `survey_full_text.pdf` contains the full text of this survey. As noted in the paper, the order respondents received the "Citizens FT" and "Elites FT" sections was randomized. Second, though not used in this paper, the "Precedence for Reps" section was only received by Republicans and the "Precedence for Dems" section was only received by Democrats taking the survey.

## Data
The document `lucid_data_order.csv` is an original data set collected in April 2019. The data set consists of responses to the survey, discussed above. A few notes on the data:

- For matrix-type questions, variable names correspond with the question label on the survey followed by _#, with the # filled in with the row of the specific item in the matrix. For example, anes_ft_1 refers to responses to the item in the first row of the ANES FT matrix, or feelings toward the Democratic Party, while anes_ft_2 refers to response to the item in the second row of the ANES FT matrix, or feelings toward the Republican Party.

- Some variables were received as embedded data from Lucid, rather than being collected on the survey. These variables are education, ethnicity, gender, hhi, hispanic, political_party, and region. Because they were received as embedded data, these variables are in the data set but not in the text of the survey. The document `Lucid_codebook.csv` contains the codebook for these variables.

## Analysis

The document `jeps_analysis.R` contains an R script reproducing all results, tables, and figures from the paper and appendix. The document `jeps_analysis_log.txt` is a log file displaying results from the analysis code.


`ReadMe.Rmd` is this file. 
